<template>
  <div>
    <Select v-model="selectData" style="width: 200px">
      <!-- <virtula-list :size="30", :remain="8">
        <Option v-for="item in list" :value="item.value" :key="item.value">{{ item.label }}</Option>
      </virtula-list> -->
      <Option v-for="item in list" :value="item.value" :key="item.value">{{ item.label }}</Option>
    </Select>
  </div>
</template>

<script>
import {doCustomTimes} from '@/lib/tools'
// import VirtualList from 'vue-virtual-scroll-list'  列表大数据优化组件
export default {
  name: 'optimize',
  data () {
    return {
      list: [],
      selectData: 0
    }
  },
  mounted () {
    let list = []
    doCustomTimes(600, index => {
      list.push({
        value: index,
        label: `select${index}`
      })
    })
    this.list = list
  }
}
</script>
<style>

</style>
